{{#extends @html/widget/hp/widget.html}}

{{:widget_class}}wg-gallery wg-new-pictures{{/:widget_class}}

{{:widget_body}}
<!--{{!connect "theme/widget/gallery.css"}}-->
	{{!connect "decoration/widget/widgets/wg-new-pictures.css"}}
	{{?widget.content.items}}
		<ul class="list-">
			{{!for widget.content.items do=@:gallery_item}}{{:gallery_item}}
			<li><a href="{{*item_url}}"><img src="{{!thumb *image_meta.path_to_orig filter='smart' w=70 h=70}}" alt="{{*image.title}}" /></a></li>
			{{/:gallery_item}}
		</ul>
	{{?:}}
		<div class="typography"><p>Изображений пока нет.</p></div>
	{{/?}}
{{/:widget_body}}
